package com.cyp.blogsystem.model.request;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class CreateArticleRequest {
    @NotBlank(message = "文章标题不能为空")
    private String title;

    @NotBlank(message = "文章内容不能为空")
    private String content;

    private String summary;
    private Long categoryId;
    private List<Long> tagIds;
}